home *** CD-ROM | disk | FTP | other *** search
- Path: trib.apple.com!usenet
- From: Amir <Amir@bayarea.net>
- Newsgroups: comp.lang.c++
- Subject: Re: overriding non-virtual functions
- Date: Tue, 09 Apr 1996 11:10:46 -0700
- Organization: Apple Computer, Inc., Cupertino, California
- Message-ID: <316AA826.F69@bayarea.net>
- References: <316964B9.F50@itsa.ucsf.edu>
- NNTP-Posting-Host: a17-128-201-48.apple.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (Macintosh; I; PPC)
-
- Aneil Mallavarapu wrote:
- >
- > I need to override a non-virtual function declared in a base class.
- >
- > .....
- >
-
- Well, if NMfunc is not virtual, that means that when
- NMCallIt call it, the calling address is computed statically
- at compile time, not at run time. If you can't change NMfunc
- nor NMCallIt, it seems to me there is nothing you can do
- about which method is called from NMCallIt.
-
-
-
- Amir
-
- --
-
- \\||||//
- \ o o /
- ______________.ooO__( () )__Ooo._______________________________
-
- Amir Deutel http://www.bayarea.net/~amir/
-
- .oo0O O0oo. Work: Amir.D@AppleLink.Apple.com
- ( ) ( ) Home: Amir@bayarea.net
- __________________\ (_____) /____________________________________
- \_) (_/
-